Mildred a shark
Professional

Once you have created a c2pWindow object with Mc2pWindow it is possible to redefine the height of the operation to be performed by using Mc2pWindowNewHeight. The height you specify should be in pixels, which is the same thing as the number of lines or rows in the operation.

If you are using the row-interlacing feature of the c2p system you should be careful to ensure that the height is a multiple of 2, otherwise memory-corruption could occur. The routine will crop the height to a multiple of 2 internally but you should bear in mind that this is necessary.

You can alter the height of an existing c2pWindow operation any number of times once the object has been created and it does not require alteration of any other parameters in order to shorten the height of the c2p operation.

Possible syntax:
Mc2pWindowNewHeight c2pWindowNum.w, NewHeight.w


c2pWindowNum.w
---- This is the number of a c2pWindow object that you have already created. The number should range from 0 up to the total number of objects minus 1. The height of this c2pWindow object will be replaced by the height that you specify in NewHeight.


NewHeight.w ---- This is the new height of the c2p operation that you wish to perform. If you are using the row-interlacing feature of the c2p system the NewHeight should be a multiple of 2 to avoid problems.

a shark